package top.sdwu_top.kbase.common.aspect.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=false)
@AllArgsConstructor
public class MyException extends RuntimeException {
    //错误码
    private Integer code = 500;

    //错误内容
    private String message = "未知服务器异常";

}
